import SystemConfig from "@/views/SystemConfig/index.vue";
import Organization from "@/views/SystemConfig/Organization/Organization.vue";
import RoleConfig from "@/views/SystemConfig/RoleConfig/RoleConfig.vue";
import UserConfig from "@/views/SystemConfig/UserConfig/UserConfig.vue";
import DictionaryConfig from "@/views/SystemConfig/DictionaryConfig/DictionaryConfig.vue";
import MenuConfig from "@/views/SystemConfig/MenuConfig/MenuConfig.vue";
import DutyInfoConfig from "@/views/SystemConfig/DutyInfoConfig/DutyInfoConfig.vue";
import SchedulesConfig from "@/views/SystemConfig/SchedulesConfig/SchedulesConfig.vue";
// import DaliyDutyConfig from "@/views/SystemConfig/DaliyDutyConfig/DaliyDutyConfig.vue";
// import EmergencyDutyConfig from "@/views/SystemConfig/EmergencyDutyConfig/EmergencyDutyConfig.vue";
import AuditLogs from "../views/SystemConfig/DutyInfoConfig/AuditLogs.vue";
import Dpsqbwh from "../views/SystemConfig/DutyInfoConfig/Dpsqbwh.vue";
import Headquarters from "../views/SystemConfig/HeadquartersConfig/Headquarters.vue";
import HeadquartersTemplate from "../views/SystemConfig/HeadquartersConfig/HeadquartersTemplate.vue";
import MemberLedger from "@/views/EmergencyResources/MemberLedger.vue";
import TeamLedger from "@/views/EmergencyResources/TeamLedger.vue";
import VehiclesLedger from "@/views/EmergencyResources/VehiclesLedger.vue";
import EquipManagement from "@/views/EmergencyResources/EquipManagement.vue";
import MaterialManagement from "@/views/EmergencyResources/MaterialManagement.vue";
const routes = [
  { // 系统配置首页
    path: "/SystemConfig",
    name: "SystemConfig",
    component: SystemConfig,
    meta: {
      keep_alive: true
    },
    children: [
      { // 队伍台账
        path: "MemberLedger",
        name: "MemberLedgerc",
        component: MemberLedger
      },
      { // 队伍台账
        path: "TeamLedger",
        name: "TeamLedger",
        component: TeamLedger
      },
      { // 车辆台账
        path: "VehiclesLedger",
        name: "VehiclesLedger",
        component: VehiclesLedger
      },
      { // 装备台账
        path: "EquipManagement",
        name: "EquipManagement",
        component: EquipManagement
      },
      { // 物资预览
        path: "MaterialManagement",
        name: "MaterialManagement",
        component: MaterialManagement
      },
      // 组织机构
      {
        path: "Organization",
        name: "Organization",
        component: Organization,
        meta: {
          keep_alive: true
        }
      },
      // 角色配置
      {
        path: "RoleConfig",
        name: "RoleConfig",
        component: RoleConfig,
        meta: {
          keep_alive: true
        }
      },
      // 用户配置
      {
        path: "UserConfig",
        name: "UserConfig",
        component: UserConfig,
        meta: {
          keep_alive: true
        }
      },
      // 字典配置
      {
        path: "DictionaryConfig",
        name: "DictionaryConfig",
        component: DictionaryConfig,
        meta: {
          keep_alive: true
        }
      },
      // 菜单配置
      {
        path: "MenuConfig",
        name: "MenuConfig",
        component: MenuConfig,
        meta: {
          keep_alive: true
        }
      },
      {
        path: "DutyInfoConfig",
        name: "DutyInfoConfig",
        component: DutyInfoConfig,
        meta: {
          keep_alive: true
        }
      },
      {
        path: "SchedulesConfig",
        name: "SchedulesConfig",
        component: SchedulesConfig,
        meta: {
          keep_alive: true
        }
      },
      // {
      //   path: "DaliyDutyConfig",
      //   name: "DaliyDutyConfig",
      //   component: DaliyDutyConfig,
      //   meta: {
      //     keep_alive: true
      //   }
      // },
      // {
      //   path: "EmergencyDutyConfig",
      //   name: "EmergencyDutyConfig",
      //   component: EmergencyDutyConfig,
      //   meta: {
      //     keep_alive: true
      //   }
      // },
      {
        path: "EcsAuditLogs",
        name: "EcsAuditLogs",
        component: AuditLogs,
        meta: {
          keep_alive: true
        }
      },
      // 大屏水情维护
      {
        path: "Dpsqbwh",
        name: "Dpsqbwh",
        component: Dpsqbwh,
        meta: {
          keep_alive: true
        }
      },
      // 指挥部级别
      {
        path: "Headquarters",
        name: "Headquarters",
        component: Headquarters,
        meta: {
          keep_alive: true
        }
      },
      // 指挥部模板
      {
        path: "HeadquartersTemplate",
        name: "HeadquartersTemplate",
        component: HeadquartersTemplate,
        meta: {
          keep_alive: true
        }
      }
    ]
  }
];
export default routes;
